//
//  ZZShareView.h
//  ExpertApp
//
//  Created by zhangxy on 2017/9/7.
//  Copyright © 2017年 sjhz. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger,ZZShareType) {
    ZZShareTypeCommunity     = 1, // 评论
    ZZShareTypeTopic         = 2, // 内容
    ZZShareTypeSpecial       = 3, // 专题
    ZZShareTypeApp           = 4, // 设置分享
    ZZShareTypeTiezi       = 5, // 帖子/讨论
    ZZShareTypeImage       = 6, // 评论分享图片
};



@interface ZZShareView : UIView

/**
 *  必须在selectIndex之前设置
 */
@property (nonatomic, strong) id shareModel;

// type =4 删除
@property (nonatomic, strong)  void(^ZZResultBlock) (int type);

/**
 *  创建对象方法
 */
-(instancetype)initWithShareType:(ZZShareType)type vc:(UIViewController *)vc obj:(id) model;


- (void)show;

- (void)dissmisMenu;

@end

